<template>
  <div>
    <a href="#" @click="toggle = !toggle">
      <slot name="activator">Default</slot>
    </a>
    <div v-if="toggle">This appears and disappears</div>
  </div>
</template>
<script>
export default {
  data: () => ({
    toggle: true
  })
}
</script>
